﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web;

namespace Model
{

    [MetadataType(typeof(SaleStage_Metadata))]
    [DisplayName("SaleStage")]
    public partial class SaleStage
    {
        public SaleStage()
        {
            this.Id = Guid.NewGuid();
            this.UserId = new Guid(HttpContext.Current.User.Identity.Name);
        }

        public class SaleStage_Metadata
        {
            [ScaffoldColumn(false)]
            public Guid Id { get; set; }

            [DisplayName("销售阶段")]
            [Required]
            public object Name { get; set; }

            [ScaffoldColumn(false)]
            public object IntOrder { get; set; }

            [DisplayName("是否启用")]
            public object Enable { get; set; }

            [ScaffoldColumn(false)]
            public Guid UserId { get; set; }

            //[DisplayName("标题")]
            //[Required]
            //public object Title { get; set; }



        }
    }
}
